﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartCity.Passport.Domain.Entities
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class User
    {
        [Key]
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserId {  get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName {  get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPass {  get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickname {  get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone {  get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string UserEmail {  get; set; }
    }
}
